package com.kk.score.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * 
 * @author KK
 * @email 409592048@qq.com
 * @date 2022-11-02 12:28:00
 */
@Data
@NoArgsConstructor
@TableName("department")
public class DepartmentEntity extends SuperEntity<DepartmentEntity> {
	private static final long serialVersionUID = 1L;
	/**
	 * 部门名称
	 */
	private String name;

	/**
	 * 是否是机关单位，只有机关单位才能被评分，默认不是.0 = 教学单位，1 = 机关单位
	 */
	private Integer is_unit;

	public DepartmentEntity(String uid, int status){
		setUid(uid);
		setStatus(status);
	}

	public DepartmentEntity(String name){
		this.name = name;
	}
}
